* {
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    height: 100%;
    background: url('/assets/images/login_bg.jpg') no-repeat center top/cover;
}

.layui-main {
    padding-top: 20px;
}

/* 2. 注册登录区 */
.login-reg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 310px;
    background-color: #fff;
}

/* 2.1 顶部标题 */
.title-box {
    height: 60px;
    background: url('/assets/images/login_title.png') no-repeat center center;

}

/* 登录表单 */
.layui-form {
    padding: 0 30px;
}

.layui-form-item a {
    font-size: 12px;
}

.layui-form-item {
    position: relative;
}

/* 字体图标  子绝父相 */
.layui-icon {
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-input {
    padding-left: 32px;
}
